<!DOCTYPE html>
<html lang="zh-Hans">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        html, body, div, img, p, a {
            margin: 0;
            padding: 0;
        }

        body {
            background: url("images/404/404-bg.jpg") repeat-x scroll;
        }

        html, body, .box {
            width: 100%;
            height: 100%;
        }

        .container {
            width: 560px;
            margin: 0 auto;
            padding-top: 8%;
            text-align: center;
        }

        img {
            border: none;
            margin-bottom: 50px;
        }

        .img-404 {
            margin-bottom: 8%;
        }

        .msg {
            margin-bottom: 100px;
            transform-origin: 50% 50%;
            -webkit-animation: msg 5s linear infinite;
            -o-animation: msg 5s linear infinite;
            animation: msg 5s linear infinite;
        }

        @-webkit-keyframes upDown {
            0% {
                height: 170px;
            }
            50% {
                height: 100px;
            }
            100% {
                height: 170px;
            }
        }

        @keyframes upDown {
            0% {
                height: 170px;
            }
            50% {
                height: 100px;
            }
            100% {
                height: 170px;
            }
        }

        @-webkit-keyframes msg {
            0% {
                transform: rotateZ(-15deg);
            }
            50% {
                transform: rotateZ(15deg);
            }
            100% {
                transform: rotateZ(-15deg);
            }
        }

        @keyframes msg {
            0% {
                transform: rotateZ(-15deg);
            }
            50% {
                transform: rotateZ(15deg);
            }
            100% {
                transform: rotateZ(-15deg);
            }
        }

        #cloud {
            background: url("images/404/404-cloud.png") repeat-x scroll;
            bottom: 0;
            height: 170px;
            position: absolute;
            width: 100%;
            -webkit-animation: upDown 5s infinite;
            -o-animation: upDown 5s infinite;
            animation: upDown 5s infinite;
        }

        .back {
            position: relative;
            display: inline-block;
            width: 150px;
            height: 36px;
            line-height: 36px;
            font-size: 16px;
            font-family: "Microsoft Yahei", "Helvetica Neue", Arial, Helvetica, sans-serif;
            text-decoration: none;
            color: #fff;
            border-radius: 18px;
            background-color: #2a8eff;
            top: -5px;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        }
    </style>
</head>
<body>
<div class="box">
    <div class="container">
        <img class="img-404" src="images/404/404.png"/>
        <img class="msg" src="images/404/404-msg.png"/>
        <p><a class="back" href="index.html" target="_self">返 回 首 页</a></p>
    </div>
    <div id="cloud"></div>
</div>
</body>
</html>